]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Bug 591590 - Fix some applications not appearing in menu
authorColin Walters <walters@verbum.org>
Thu, 13 Aug 2009 15:31:53 +0000 (11:31 -0400)
committerColin Walters <walters@verbum.org>
Thu, 13 Aug 2009 17:02:29 +0000 (13:02 -0400)
Use the correct address for the entry, instead of treating the
ShellAppInfo pointer as one.

src/shell-app-system.c

index d415f188c65b0a3a08064d00dd07fb500a484e2b..d4ee4cbc6022e006af473bf597440029aede6187 100644 (file)
@@ -848,7 +848,7 @@ shell_app_info_get_is_nodisplay (ShellAppInfo *info)
   switch (info->type)
   {
     case SHELL_APP_INFO_TYPE_ENTRY:
-      return gmenu_tree_entry_get_is_nodisplay ((GMenuTreeEntry*)info);
+      return gmenu_tree_entry_get_is_nodisplay ((GMenuTreeEntry*)info->entry);
     case SHELL_APP_INFO_TYPE_DESKTOP_FILE:
       return FALSE;
   }